<?php # Script 11.1 - login_page.inc.php

// This page prints any errors associated with logging in
// and it creates the entire login page, including the form.

// Include the header:
$page_title = 'Login';
include('includes/header.html');
?>
	<div id="wrap">
		<div class="navbar navbar-inverse">
			<div class="navbar-inner">
				<div class="container">
					<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
					</a>
					<a class="brand" href="#">User Manager</a>
					<div class="nav-collapse collapse">
						<ul class="nav">
							<li class=""><a href="index.php">홈</a></li>
							<li class=""><a href="#">사용자등록</a></li>
							<li class=""><a href="#">사용자목록</a></li>
							<li class=""><a href="#">비밀번호변경</a></li>
							<li class="active"><a href="login02.php">로그인</a></li>
						</ul>
					</div>
				</div>
			</div>
		</div>
		<div class="container">
			<div class="page-header">
    	<!-- Start of the page-specific content. -->
<?php

// Print any error messages, if they exist:
if (!empty($errors)) {
	echo '<h1>Error!</h1>
	<h3 class="text-error">The following error(s) occurred:<br/>';
	foreach ($errors as $msg) {
		echo " - $msg<br/>\n";
	}
	echo '</h3><h3>Please try again.</h3>';
}

// Display the form:
?>    	
			
        	<h1>Loging</h1>
        	<hr class="bs-docs-separator">
        	<form class="form-horizontal" action="login02.php" method="post">
			  <div class="control-group">
			    <label class="control-label" for="email">Email Address</label>
			    <div class="controls">
			      <input type="text" name="email" maxlength="80">
			    </div>
			  </div>
			  <div class="control-group">
			    <label class="control-label" for="pass">Password</label>
			    <div class="controls">
			      <input type="password" name="pass" maxlength="20">
			    </div>
			  </div>
			  <div class="control-group">
			    <div class="controls">
			      <button type="submit" class="btn">Login</button>
			      <input type="hidden" name="submitted" value="TRUE">
			    </div>
			  </div>
			</form>
<?php
include('includes/footer.html');
?>